package models

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50);comment:标题"`
	Content string `gorm:"type:varchar(500);comment:内容"`
	Author  string `gorm:"type:varchar(50);comment:作者"`
}
